//
//  FMDBAdManager.h
//  takeout
//
//  Created by Mac on 12-9-9.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Ad.h"
@interface FMDBAdManager : NSObject{
        Ad *newAd;
}

-(void)insertAd:(NSArray *)ads position:(NSString *)position;
-(void) select;
-(NSArray *)getAdForPosition:(NSString *)position;
-(Ad *)getAdForId:(NSString *)adId;
@end
